package com.mall.order.bo;

import com.mall.order.dto.CartProductDto;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;


/**
 * 创建订单的入参
 * */
@Data
public class CreateOrderBo {

    /**
     * streetName : 上海青浦区汇联路
     * cartProductDtoList : [{"limitNum":100,"productId":100057401,"salePrice":149,"productImg":"https://resource.smartisan.com/resource/005c65324724692f7c9ba2fc773 8db13.png","checked":"true","productNum":1,"productName":"Smartisan T恤 迪特拉姆斯"}]
     * tel : 18782059038
     * userName : admin
     * orderTotal : 149
     * addressId : 5
     */
    private String streetName;
    private List<CartProductDto> cartProductDtoList;
    private String tel;
    private String userName;
    private BigDecimal orderTotal;
    private Long addressId;

}
